package cn.bdqn.t354.service;

import cn.bdqn.t354.entity.User;

public interface UserService {
    /**
     * 查询单个用户
     * @param id
     * @return
     */
    public User getUser(Long id);

    /**
     * 新增
     * @param user
     * @return
     */
    public User addUser(User user);

    /**
     * 修改
     * @param user
     * @return
     */
    public User updateUser(User user);

    /**
     * 删除
     * @param id
     * @return
     */
    public void deleteUser(Long id);

}
